package com.albert.java_log4j_demo.idea;

import java.util.ArrayList;
import java.util.List;

public class debugTestDemo {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("a");
        list.add("b");
        list.add("c");
        foo();
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        System.out.println(list.get(2));
        System.out.println(list);
    }

    private static void foo() {
        bar1();
        bar2();
    }

    private static void bar2() {
    }

    private static void bar1() {
    }
}
